package net.hxz.modules.services;

import java.util.List;

import net.hxz.modules.pojo.Type;

/**
 * 用户
 * @author LYM
 */
public interface ITypeService {
	
	List<Type> getByParent(Long typeId);
	
	Type get(Long typeId);
	
	int countByParent(Long typeId);
	
	int add(Type type);
	
	int del(Long typeId);
	
	int modify(Type type);
	
	List<Type> getWithChildren(long typeId);
}
